const mode = import.meta.env.MODE as "development" | "production";

export const app = "jyems";
export const baseURL = "https://www.juyingiot.com";
export const authURL = "https://www.juyingiot.com/web/std/oauth";
export const frontURL = mode == "development" ? "http://localhost:5175" : "https://www.juyingiot.com/web/std/app";
export const adminURL = mode == "development" ? "http://localhost:5174" : "https://www.juyingiot.com/web/std/manager";
export const jujudaPreviewURL = "https://2dview.jujuda.com";
export const extendServiceURL = mode == "development" ? "http://localhost:3000" : "https://www.juyingiot.com/web/std/service";
export const authAPIURL = "https://oauthapi.juyingiot.com";
export const cloudAPIURL = "https://cloudapi.juyingiot.com";
export const ossAPIURL = "https://ossapi.juyingiot.com";
export const orgAPIURL = "https://orgapi.juyingiot.com";
export const paymentAPIURL = "https://pay.iot02.com"; // https://pay.juyingiot.com
export const ezvizAPIURL = "https://open.ys7.com";
export const iotAPIURL = "https://damapi.iot02.com:60052";
export const cloudSocketURL = "wss://cloudapi.juyingiot.com/ws/v2";
export const defaultLanguage = "zh-Hans"; // 默认语言
